package com.cchr.acms.dao;

import java.util.List;

import com.cchr.acms.model.FacilityInfo;

/**
 * @author zeng
 *
 */
public interface FacilityInfoDAO {
	
	/**
     * @param baseInfo
     * @return
     */
    public int insertFacilityInfo(FacilityInfo baseInfo);
    
	/**
     * @param baseInfo
     * @return
     */
    public int updateFacilityInfo(FacilityInfo baseInfo);
    
	/**
     * @param name
     * @return
     */
    public FacilityInfo queryFacilityInfoById(int id);
    
	/**
     * @param id
     * @return
     */
    public int deleteFacilityInfoById(int id);
    
    /**
     * @param caseId
     * @return
     */
    public List<FacilityInfo> getFacilityInfoByCaseId(int caseId);
    
    /**
     * @return
     */
    public List<FacilityInfo> getAllFacility();
    
    public void deleteFacilityInfoByCaseId(int caseId);

}
